<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>jQuery UI Position - Default functionality</title>
  <script src="../lib/jquery/jquery.js"></script>
  
</head>
<body>
	
    <div style="padding:10px; border:1px solid red;">
    	<div style="padding:10px; border:1px solid red;">
    		<div style="padding:10px; border:1px solid red;">
    	
    		</div>
    	</div>
    </div>
	<div style="padding:10px; border:1px solid red;" tabindex = -1>
    	<div style="padding:10px; border:1px solid red;">
    		<div style="padding:10px; border:1px solid red;" tabindex = -1>
    	
    		</div>
            <input type="text">
    	</div>
    </div>
<script type="text/javascript">
$(document).focusin(function(e){
	console.log(e.target.tagName);		
});
//IE9 以下会有问题
$(window).blur(function(e){
	console.log('blur', e.clientX, e.clientY);		
});
</script>    
</body>
</html>